package com.learn.spring.services;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author wangxing
 * @version 2020/5/8 12:49 Administrator
 */
public class Client {
    @Autowired//自动注入
            Service service;

    public void invokeService() {
        System.out.println("Clinet invoke :" + service.sayHello());
    }
}
